#ifndef _RFID_INTERFACE_H_
#define _RFID_INTERFACE_H_

#include "include/ca51f003_config.h"		
#include "include/ca51f003sfr.h"
#include "include/ca51f003xsfr.h"
#include "include/gpiodef_f003.h"
#include "include/delay.h"

sbit RD522_RST_PIN = P1^4;
sbit RD522_I2C_PIN = P1^3;
sbit RD522_EA_PIN	 = P1^1;

char get_typeA_card(unsigned char *cln, unsigned char *uid, unsigned char *sak_tmp);
void ScanRFID(void);

#endif